<?php include_once('../layouts/header.php') ?>
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center',split:true,border:false">
        <div class="container">
            <fieldset><legend><code>组合树形网格 combotreegrid</code></legend></fieldset>
            <form id="form-combotreegrid"
             data-options="
                form:{
                    url:'/data/index.php?type=test',
                    id:'#form-combotreegrid',
                },
             ">
                <input class="easyui-combotreegrid" name="combotreegrid[]" data-options="
                idField:'id',
                treeField:'text',
                width:'100%',
                pagination:false,
                multiple: true,
                showClear:true,
                url:'http://demo.misboot.com/system/codeItem/getListByCodeSetIdAndLevelId?codeSetId=0&levelId=0',
                expandUrl:'http://demo.misboot.com/system/codeItem/getListByPid?pid={id}',
                columns:[[
                    {field:'text',title:'名称',width:200},
                    {field:'codeSetId',title:'体系代码',width:100},
                    {field:'pid',title:'父级编号',width:100}
                ]]">
                <button type="button" class="btn btn-primary btn-block" onclick="$.submitForm(this)">保存</button>
            </form>
        </div>
    </div>
</div>

<?php include_once('../layouts/footer.php') ?>